if(typeof(msg) == 'undefined'){
	wm.load.synchronizesLoadJs('https://res.weiunity.com/msg/msg.js');
}
if(typeof(kefu) == 'undefined'){
	wm.load.synchronizesLoadJs('https://res.weiunity.com/kefu/kefu.js');
}
wm.load.css('https://res.weiunity.com/kefu/css/style.css');

kefu.api.domain = 'https://api.kefu.leimingyun.com/';
kefu.socket.url = 'wss://api.kefu.leimingyun.com/websocket';

//kefu.js 接口设置
//kefu.api.getMyUser = host+'/kefu/chat/user/init.json';
////kefu.api.getMyUser = host+'/kefu/inset/login.json';	//三方系统对接
//kefu.api.getChatOtherUser = host+'/kefu/chat/zuoxi/getUserByZuoxiId.json';
//kefu.api.chatLog = host+'/kefu/chat/log/log.json';
//kefu.api.uploadImage = host+'/kefu/chat/file/uploadImage.json';

//手机界面模式
kefu.mode='mobile';

//kefu.js 初始化
kefu.init();